package com.one.mapper;

import com.one.pojo.data;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DataMapper {

    public void add(data data1);

    public void deleteById(int id);

    public int select();

    public void updateById(data data1);

    public List<data> limit(Map<String,Integer> map);

    public List<data> search(String name);

}
